<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE>
<html>
<head>
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/layout.css" />
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/module_public.css" />
  <script type="text/javascript" src="__PUBLIC__/Js/jquery.js"></script>
</head>
<body>
  <div class="module_public">
     <div class="module_public_content">
        <h1> >> 公司物品管理 | <font color=green><a href="__URL__/add_goods">【物品入库】</a></font><font color=green><a href="__URL__/goods">【物品管理】</a></font><font color=green><a href="__URL__/get_goods">【物品领取】</a></font><font color=green><a href="__URL__/get_goods_manage">【物品领取记录查看】</a></font><font color=green><a href="__ACTION__">【刷新】</a></font></h1>
     </div> <!--公共头部样式-->
     <div class="module_public_main">
        <table>
		   <tr>
		     <td align="center" width="8%">编号</td>
			 <td align="center">物品名称</td>
			 <td align="center">物品单价</td>
			 <td align="center">物品库存</td>
			 <td align="center">操作</td>
		   </tr>
		   <?php if(is_array($g_info)): $k = 0; $__LIST__ = $g_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($k % 2 );++$k;?><tr>
		     <td align="center" width="8%"><?php echo ($k); ?></td>
			 <td align="center"><?php echo ($v["g_name"]); ?></td>
			 <td align="center"><?php echo ($v["g_jiage"]); ?>元</td>
			 <td align="center"><?php echo ($v["g_sum"]); ?></td>
			 <td align="center">
			    <a href="__URL__/update_goods/g_id/<?php echo ($v["g_id"]); ?>">更新物品信息</a> |
				<a href="__URL__/delete_goods/g_id/<?php echo ($v["g_id"]); ?>">删除物品信息</a>
			 </td>
		   </tr><?php endforeach; endif; else: echo "" ;endif; ?>
		   <tr>
		     <td colspan="5" align="right"><?php echo ($fpage); ?></td>
		   </tr>
		</table>
     </div>
  </div>
</body>
</html> <!--公共尾部样式-->